home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-17
/
sfx_3.zip
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-03-25
|
2KB
|
56 lines
echo off
cls
if () == (%1) goto NO_ARG
if (a:) == (%1) goto FDISK
if (b:) == (%1) goto FDISK
cls
echo
echo ───────────────────────────────────────────────────────────
echo ERROR: Invalid drive specified.
echo You must use drive A: or B:
echo ───────────────────────────────────────────────────────────
goto DONE
:NO_ARG
cls
echo This batch file needs to know what drive you wish to install
echo the files on. You must install this to a diskette.
echo
echo ─────────────────────────
echo │ Usage: INSTALL [drive]: │
echo ─────────────────────────
echo Example: INSTALL A:
goto DONE
:FDISK
cls
echo ┌───────────────────────────┐
echo │** Stereo■FX Diskette #3 **│
echo └───────────────────────────┘
echo ─────────────────
echo This batch file will conveniently extract this
echo diskette to a 360K or 720K floppy.
echo ─────────────────
echo Please ensure that you have a blank/formatted
echo 360K or 720K diskette ready before you continue.
echo
echo Press any key to continue the installation
echo or CONTROL-C to abort.
pause >nul
cls
echo ┌───────────────────────────┐
echo │** Stereo■FX Diskette #3 **│
echo └───────────────────────────┘
echo ─────────────────
echo Copying files . . .
echo Disk 3 part 1...
copy sfxf.exe %1
echo Disk 3 part 2...
copy sfxr.exe %1
cls
echo ╒══════════════════════════╕
echo │ Installation successful! │
echo ╘══════════════════════════╛
goto DONE
:DONE